package com.dongrj.framework.log4jdbc;

import com.dongrj.framework.web.condition.ConditionalEnv;
import org.springframework.context.annotation.Bean;

/**
 * @author dongrongjun
 * @date 2020/4/2
 */
public class Log4jdbcAutoConfiguration {

    @Bean
    @ConditionalEnv({"dev", "test", "olduat", "sit"})
    public HikariLog4jdbcBeanPostProcessor hikariLog4jdbcBeanPostProcessor() {
        return new HikariLog4jdbcBeanPostProcessor();
    }
}
